require "logUtil"
require "util"
require "config"
require "FuDi"
require "GuanKa"





--vip限时()
--logger.info("限时")
showSettingUi()

if setting.run then
    -- 只运行资产
    if setting.runType == setting.runType_ZiChan then
        FuDi.onlyZiChanRun()
    end

    -- 运行关卡
    if setting.runType == setting.runType_GuanQia then
        GuanQia.run()
    end

    -- 运行府邸
    if setting.runType == setting.runType_FuDi then
        for i = 1, 9999999999 do
            FuDi.run()
        end
    end
end




function beforeUserExit()
    G_HUD_STATE = false
end